        var img = new Image();
		img.src = 'SplashScreen.png';
		var canvas = document.createElement("canvas");
		canvas.width = img.width;
		canvas.height = img.height;

		// Copy the image contents to the canvas
		var ctx = canvas.getContext("2d");
		ctx.drawImage(img, 0, 0);


		// Get canvas contents as a data URL
		return imgAsDataURL = canvas.toDataURL("image/png");

		